<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div id="loading">
    <i class=" ace-icon loading-icon fa fa-spinner fa-spin white"></i>正在加载...

</div>
<div id="Formloading">
    <i class=" ace-icon loading-icon fa fa-spinner fa-spin white"></i>正在加载...
</div>
<!-- /base Modal -->
<!--修改密码弹出框-->
<div id="UpPWD" class="modal" tabindex="-1">
    <div class="modal-dialog">
        <div class="modal-content">
          <!--   <div class="modal-header no-padding">
                <div class="table-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        <span class="white">&times;</span>
                    </button>
                    修改密码
                </div>
            </div> -->

            <form action="/UserAdmin/UpPWD" class="form-horizontal" data-ajax="true" data-ajax-loading="#Formloading" data-ajax-success="OnUpPwdSucess" id="upPWDForm" method="post">                    <div class="modal-body">

                <!-- #section:elements.form -->

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">当前用户 </label>
                    <div class="col-sm-9">
                        <input type="text" value="${current_user.loginName}" disabled="disabled" class="col-xs-10 col-sm-5" />
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">旧密码 </label>
                    <div class="col-sm-9">
                        <input type="password" id="txtOldPWD" name="OldPWD" placeholder="旧密码" class="col-xs-10 col-sm-5" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">新密码 </label>
                    <div class="col-sm-9">
                        <input type="password" id="txtNewPWD" name="UserPwd" placeholder="新密码" class="col-xs-10 col-sm-5" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right">重复新密码 </label>
                    <div class="col-sm-9">
                        <input type="password" id="txtNewPWDAgain" name="NewPWDAgain" placeholder="重复新密码" class="col-xs-10 col-sm-5" />
                    </div>
                </div>
            </div>
                <div class="modal-footer no-margin-top">
                    <div class="pull-right">
                        <button class="btn btn-sm btn-danger" data-dismiss="modal">
                            <i class="ace-icon fa fa-times"></i>
                            关闭
                        </button>
                       <!--  <button id="btnUPPWD" type="submit" class="btn btn-sm btn-primary">
                            <i class="ace-icon fa fa-check"></i>
                            修改密码
                        </button> -->
                    </div>
                </div>
            </form>            </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

<!-- 头部 -->
<div id="navbar" class="navbar navbar-default navbar-fixed-top">
    <div class="navbar-container" id="navbar-container">
        <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">
            <span class="sr-only">Toggle sidebar</span>

            <span class="icon-bar"></span>

            <span class="icon-bar"></span>

            <span class="icon-bar"></span>
        </button>


        <div class="navbar-header pull-left">

            <a href="#" class="navbar-brand">
                <small>

                   用户管理平台
                </small>
            </a>

        </div>

        <!-- 右侧个人中心 -->
        <div class="navbar-buttons navbar-header pull-right" role="navigation">
            <ul class="nav ace-nav">
                <li class="light-blue">

                    <a id="toggle" data-toggle="dropdown" href="#" class="dropdown-toggle"aria-expanded="false">
                        <img class="nav-user-photo" src="${pageContext.request.contextPath}/publics/img/avatars/default.png" alt="" />
								<span class="user-info">
									<small>欢迎您,</small>
									${current_user.name}
								</span>

                        <i class="ace-icon fa fa-caret-down"></i>
                    </a>
                    <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                       <!--  <li>
                            <a href="#">
                                <i class="ace-icon fa fa-cog"></i>
                                修改密码
                            </a>
                        </li> -->

                        <li>
                            <a href="${pageContext.request.contextPath }/user/loginOut">
                                <i class="ace-icon fa fa-power-off"></i>
                                退出
                            </a>
                        </li>

                    </ul>
                </li>
            </ul>
        </div>
    </div>
</div>

